# 导入CSV格式数据到列表
fo = open("xiaofei.csv", "r")
ls = []
for line in fo:
    line = line.replace("\n", "")
    # 删除换行符
    ls.append(line.split(","))
    # split 即将将字符串转为数组 用，隔开
print(ls)
fo.close()

# 输出江西与甘肃两省的衣着消费
print(ls[15][3])
print(ls[30][3])